Method and device for managing information exchange between a main element, for example a nfc controller, and a set of at least two auxiliary elements

ABSTRACT

Device, comprising a main element (ME) and a set of at least two auxiliary elements (SEi), said main element including a master SWP interface (MINT), each auxiliary element including a slave SWP interface (SLINTi) connected to said master SWP interface of said NFC element through a controllably switchable SWP link (LK) and management means (PRM, CTLM, AMGi) configured to control said SWP link switching for selectively activating at once only one slave SWP interface on said SWP link.

The invention relates to the communication between components orelements, in particular between a contactless element, for example a NFC(“Near Field Communication”) controller element and at least twoauxiliary elements, such as a UICC or secure elements, for examplelocated within a wireless apparatus, for example a mobile phone.

As defined within ETSI TR 102 216 V3.0.0 (2003-09), UICC which isneither an abbreviation nor an acronym, designates a smart card thatconforms to the specifications written and maintained by the ETSI SmartCard Platform project.

Further to its conventional telephone function, a mobile phone may beused for exchanging information with a contactless device by using acontactless communication protocol.

This permits to exchange information between the contactless device andelements located within the mobile phone. Plenty of applications arethus possible such as mobile ticketing in public transport (the mobilephone acts as a boarding pass) or mobile payment (the mobile phone actsas a debit/credit payment card).

Near Field Communication or NFC is a short range high frequency wirelesscommunication technology which enables such exchange of data between twocontactless devices over a short distance, for example 10 centimeters.

NFC is an open platform technology standardized in ISO/IEC 18092 andISO/IEC 21481 but incorporates a variety of pre-existing standardsincluding ISO/IEC 14443 protocol type A and type B.

Mobile phone manufacturers are interested in connecting two differentauxiliary elements to NFC chips. As a matter of fact, having twoseparate auxiliary elements allows to clearly separate applicationscoming from different issuers (banks, transport operators, telephoneoperators . . . ).

ETSI TS 102 613 is a standard disclosing in particular the principle ofa so-called Single Wire Protocol (SWP). The SWP is a bit orientedpoint-to-point communication protocol between a contactless front end(CLF) also called a NFC controller, and a UICC. However, this singlewire protocol as defined in ETSI TS 102 613 permits only thecommunication between one contactless element, for example one NFCcontroller and one UICC.

A first solution for managing information exchange between a NFCcontroller and two elements consists in providing a NFC controller withone SWP interface for secure elements based on SWP-UICC technology and asecond interface (for example a NFC Wired Interface: NFC-WI) forproprietary secure elements. However, such solution makes the design ofa NFC controller more complex as an additional interface has to bemanaged in a time critical environment.

A second solution consists in offering NFC controllers provided with twoSWP interfaces. This solution would allow using of two secure elementsprovided with SWP-UICC technology but again, it will make the design ofthe NFC controller more complex as an additional interface has to bemanaged.

According to an embodiment, a method and a device are proposed formanaging in a simple way, information exchange between a contactlesselement such as NFC controller, and several (at least two) auxiliaryelements by using the already existing hardware technology without anymodification of the software on secure elements provided with SWP-UICCtechnology.

According to an aspect, a method of managing information exchangebetween a main element, in particular a contactless element, for examplea NFC element such as a NFC controller, and a set of at least twoauxiliary elements is provided which comprises providing each auxiliaryelement with a slave SWP interface, providing said main element with amaster SWP interface, connecting said slave SWP interfaces to saidmaster SWP interface through a controllably switchable SWP link andcontrolling said SWP link switching for selectively activating at onceonly one slave SWP interface on said SWP link.

A slave SWP interface is considered to be activated when for example itis capable, after an activation phase including transmission ofparticular control data, to exchange information with the masterinterface on the SWP link related for example to a particularcontactless application.

According to an embodiment, connecting said slave SWP interfaces to saidmaster SWP interface through a controllably switchable SWP linkcomprises connecting a controllable multiplexer/demultiplexer switchbetween said master SWP interface and said slave SWP interfaces andcontrolling said SWP link switching comprises controlling saidmultiplexer/demultiplexer switch for switching the SWP link to saidselected slave SWP interface.

According to an embodiment, said method further comprises forcing thepart of the SWP link connected between each non selected slave SWPinterface and the multiplexer/demultiplexer switch in a deactivatedstate.

This permits for the non selected slave SWP interface, to simulate thepresence of the master element even if this master element is actuallyexchanging information with the selected slave interface.

Further, as the parts of the SWP link connected between each selectedslave SWP interface and the multiplexer/demultiplexer switch are forcedin a deactivated state, there is no risk that one of said non selectedslave SWP interface detects a non working SWP line, while the selectedslave SWP interface is active.

As a matter of fact, an auxiliary element cannot initiate SWPcommunication while SWP link is deactivated.

According to an embodiment, said method further comprises controllingsaid SWP link switching when the SWP link is in a deactivated state.

In other words, it is only possible to switch the SWP link to anotherauxiliary element when the SWP is deactivated. Thus, all auxiliaryelements assume a deactivated SWP link and all auxiliary elements willnot recognize any change on SWP link when SWP switching happens.

Activating said selected slave SWP interface may comprise performing aninitial activation of said selected slave SWP interface or a subsequentactivation of said selected slave SWP interface.

According to an embodiment, either all the auxiliary elements operate ina first operation mode, for example in a full power mode, or only oneauxiliary element operates in a second operation mode, for example in alow power mode, having a power value lower than the power value of thefirst operation mode, while each other auxiliary element is OFF, andwhen said only one auxiliary element operates in a second operationmode, controlling said SWP link comprises forcing the SWP link switchinginto a predetermined configuration allowing the selection of said onlyone auxiliary element.

This permits to surely have a switching of the SWP link to said only oneauxiliary element, even if the multiplexer/demultiplexer switch is notsufficiently powered.

According to another embodiment, either all the auxiliary elementsoperate in the first operation mode, or at least a first auxiliaryelement operates in the second operation mode, and when said firstauxiliary element operates in a second operation mode, said firstauxiliary element controls said SWP link switching for selecting onlyone auxiliary element operating in a second operation mode.

It is thus possible to have a more flexible configuration in the lowpower mode.

More particularly, a configuration indication may be stored in saidfirst auxiliary element, and said first auxiliary element controls saidSWP link switching by using said configuration indication.

While it is possible to store the configuration indication during thefabrication of the device, thus fixing a configuration by default forthe low operation mode, it is particularly advantageous that for examplethe user of a wireless apparatus may decide himself the configuration inthe low power mode.

And in this respect said configuration indication may be stored in saidfirst auxiliary element when all the auxiliary elements operate in saidfirst operation mode, for example through an user interface.

According to an embodiment said first auxiliary element operates in asecond operation mode, said first auxiliary element controls thepowering of each other auxiliary element in order to place each otherauxiliary element in a OFF state, and said first auxiliary elementcontrols said SWP switching for selecting said first auxiliary elementoperating in a second operation mode.

According to another embodiment said first auxiliary element operates ina second operation mode, said first auxiliary element controls thepowering of a second auxiliary element in order to permit said secondauxiliary element to operate in a second operation mode, and said firstauxiliary element controls the SWP link switching for selecting saidsecond element operating in a second operation mode.

Said first auxiliary element may control the powering of said secondauxiliary element or each other auxiliary element by using saidconfiguration indication.

According to another aspect, a device is proposed, comprising a mainelement and a set of at least two auxiliary elements, said main elementincluding a master SWP interface, each auxiliary element including aslave SWP interface connected to said master SWP interface of said NFCelement through a controllably switchable SWP link and management meansconfigured to control said SWP link switching for selectively activatingat once only one slave SWP interface on said SWP link.

According to an embodiment, the device comprises a controllablemultiplexer/demultiplexer switch having a first terminal coupled to saidmaster SWP interface through a first part of said SWP link and at leasttwo second terminals respectively coupled to said at least two slave SWPinterfaces through at least two second parts of said SWP link, and saidmanagement means comprise control means configured to control saidmultiplexer/demultiplexer switch.

Said control means may be advantageously located within said mainelement.

According to an embodiment, the device further comprises first forcingmeans configured to force each second part of the SWP link connectedbetween each non selected slave SWP interface and themultiplexer/demultiplexer switch in a deactivated state.

According to an embodiment, said first forcing means comprise at leasttwo pull-down resistors respectively connected between said at least twosecond parts of said SWP link and a reference voltage.

According to an embodiment, said management means comprise processingmeans configured to put said SWP link in a deactivated state, and saidcontrol means are configured to control said multiplexer/demultiplexerswitch after said processing means have put the SWP link in saiddeactivated state.

Said management means may be configured to perform either an initialactivation or a subsequent activation of said selected SWP slaveinterface.

According to an embodiment, the device has

-   -   a first state in which all the auxiliary elements are able to        operate in a first operation mode, for example in a full power        mode, and    -   a second state in which only one auxiliary element is able to        operate in a second operation mode, for example in a low power        mode, having a power value lower than the power value of the        first operation mode, and each other auxiliary element is OFF,        and    -   said device further comprises second forcing means configured,        when said device is in its second state, to force the SWP link        switching into a predetermined configuration allowing the        selection of said only one auxiliary element.

According to an embodiment, said second forcing means comprise anotherpull-down resistor connected between the control input of saidmultiplexer/demultiplexer switch and a voltage reference.

According to a variant the device has a first state in which all theauxiliary elements are able to operate in the first operation mode, anda second state in which at least a first auxiliary element is able tooperate in the second operation mode and said device comprises auxiliaryselection means at least partly incorporated in said first auxiliaryelement and configured, when said device is in its second state, tocontrol said SWP link switching for selecting only one auxiliary elementoperating in a second operation mode.

According to an embodiment said auxiliary selection means comprisesauxiliary memory means incorporated in said first auxiliary element forstoring a configuration indication, and auxiliary control meansconfigured to control the SWP link switching from said configurationindication.

Said auxiliary selection means may further comprise auxiliary inputmeans configured to store said configuration indication is stored insaid auxiliary memory means when the device is in its first state.

Said auxiliary selection means may be further configured, when saiddevice is in its second state, to control the powering of each otherauxiliary element in order to place each other auxiliary element in aOFF state, and to select said first auxiliary element operating in asecond operation mode.

Said auxiliary selection means may be also configured, when said deviceis in its second state, to control the powering of a second auxiliaryelement in order to permit said second auxiliary element to operate in asecond operation mode, and to select said second element operating in asecond operation mode.

According to an embodiment said auxiliary selection means comprisesauxiliary power control means configured to control the powering of saidsecond auxiliary element or each other auxiliary element from saidconfiguration indication.

According to an embodiment, one auxiliary element may be packed withsaid main element and another auxiliary element, for example a SIM card,may be removably connected to said main element.

Said main element may be a contactless element, for example a NFCcontroller.

According to another aspect, an apparatus, for example a wirelesscommunication apparatus, is proposed comprising an antenna and a deviceas defined above, coupled to said antenna.

According to an embodiment, one auxiliary element may be permanentlyfixed within said apparatus and another auxiliary element, for example aSIM card, may be removably lodged within said apparatus and removablyconnected to said main element.

Other advantages and features of the invention will appear on examiningthe detailed description of embodiments, these being no way limiting,and of the appended drawings in which:

FIG. 1 illustrates schematically an embodiment of a device according tothe invention,

FIGS. 2 and 3 illustrate connections between a main element andauxiliary elements through a SWP link,

FIGS. 4, 5 a, 5 b illustrate diagrammatically examples of flow charts ofseveral embodiments of a method according to the invention,

FIGS. 6-9 illustrate diagrammatically examples of frames used inembodiments of the present invention,

FIGS. 10 and 11 illustrate diagrammatically other examples of flowcharts related to initial and subsequent activations,

FIG. 12 illustrates diagrammatically an embodiment of amultiplexer/demultiplexer switch in the present invention,

FIGS. 13 and 14 illustrate diagrammatically embodiments of a wirelessapparatus according to the invention, and

FIGS. 15 to 18 illustrate diagrammatically other embodiments of a methodand a wireless apparatus according to the invention.

Embodiments of the invention will be now described in the technicalfield of contactless elements or components connected to secureelements, in particular embedded in a mobile phone, although theinvention is not limited to these particulars embodiments.

A contactless element is an element or a component able to exchangeinformation through an antenna with a contactless device according tocontactless communication protocol.

A NFC element or component, which is a contactless element, is anelement or component compliant with the NFC technology.

In FIG. 1, an example of a device DIS according to the invention isillustrated which comprises a contactless front end element ME, forexample a NFC controller, having a SWP interface MINT.

The device comprises also here two auxiliary elements or secureelements. Each secure element SE1 (SE2) comprises a SWP interface SLINT1 (SLINT 2). Each SWP interface SLINTi is connected to the same SWPinterface MINT of the NFC controller ME through a controllablyswitchable SWP link LK.

A secure element is for example an element adapted to contain secure orprotected information, for example banking information, informationrelated to telephone subscription . . . .

Each SWP interface SLINTi comprises auxiliary management means AMGiwhile the SWP interface MINT of the NFC controller ME comprisesprocessing means PRM.

The NFC controller ME is coupled to an antenna ANT1 for exchanginginformation with a contactless reader by using a contactlesscommunication protocol, for example the one disclosed in ISO/IEC 14443.

The Single Wire Protocol (SWP) is a bit oriented, point-to-pointcommunication protocol between a secure element and a contactless frontend, and is specified in the standard ETSI TS 102 613, for example theversion V7.7.0 (2009-10) thereof. The man skilled in the art could referif necessary to this document, the content thereof being incorporated byreference in the present patent application.

More precisely, as illustrated in FIG. 2, the NFC controller ME is themaster whereas a secure element SE is a slave. The master and a slaveare mutually connected through a SWP link LK.

A SWP link is a link or line adapted to support the Single Wire Protocol(SWP)

As disclosed in ETSI TS 102 613, the principle of the single wireprotocol (SWP) is based on the transmission of digital information infull duplex mode. The signal S1 from ME to SE is transmitted by adigital modulation (L or H) in the voltage domain whereas the signal S2from SE to ME is transmitted by a digital modulation (L or H) in thecurrent domain.

When the master sends S1 as state H then the slave may either draw acurrent (state H) or not (state L) and thus transmits S2. With pulsewidth modulation bit coding of S1, it is possible to transmit atransmission clock, as well as data in full duplex mode. More detailscan be found in ETSI TS 102 613.

FIG. 3 represents an embodiment of the physical link between thecontactless element ME and a secure element SE. More precisely, asillustrated in this figure and explained in ETSI TS 102 613, the contactC6 of the secure element is connected to the port SWIO of thecontactless element ME for transmission of signal S1 and S2.

The SWP protocol specified in ETSI TS 102 613 permits only thecommunication between the master SWP interface of the contactlesselement and a single slave SWP interface of a single secure element.

According to an aspect of the invention which will be now described morein details, it will be possible to connect two or more than twoauxiliary elements or secure elements SEi provided with a SWP-UICCtechnology to a single master SWP interface of a contactless element,for example a NFC controller.

More precisely, if we refer again to FIG. 1, this will be possible inparticular by connecting a controllable multiplexer/demultiplexer switchSW between said master SWP interface MINT and said slave SWP interfacesSLINT1, SLINT2, and by controlling said switch SW by control means CTLMfor switching the SWP link to the selected slave SWP interface.

Here, the processing means PRM, the control means CTLM and the auxiliarymanagement means AMGi form management means configured to control theSWP link switching for selectively activating at once only one selectedslave SWP interface on said SWP link.

The management means and the control means may be realized by softwaremodule and at least partly by logic circuit.

In the present embodiment, where only two auxiliary elements are used,the multiplexer/demultiplexer switch SW has a first terminal T1 coupledto said master SWP interface MINT though a first part LK1 of said SWPlink LK and two second terminals T20 and T2 respectively coupled to saidtwo slave SWP interfaces SLINT1, SLINT2 through two second parts LK20,LK21 of said SWP link.

Of course, although the parts LK1, LK20 and LK21 have been representedhere by wires between the terminals T1, T20, T21 and the correspondingterminals of the SWP interfaces, these parts may be reduced to theminimum if for example the terminals T1, T20, T21 respectively meet thecorresponding terminals of the SWP interfaces.

The switch SW further comprises a control terminal T3 connected to thecontrol means CTLM for receiving a control signal SWCTRL for switchingthe first terminal T1 to either the second terminal T20 or the secondterminal T21, depending on the logic value of the control signal.

For example, as illustrated in FIG. 1, if the control signal SWCTRL hasthe logic value “0”, the first terminal T1 is connected to the secondterminal T20 while the first terminal T1 is connected to the secondterminal T21 if the control signal SWCTRL has the logic value “1”.

As defined in ETSI TS 102 613, a SWP link may have an activated state, asuspended state and a deactivated state.

More precisely, in the activated state, the master element and theselected auxiliary element are sending bits

In the suspended state, the signal S1 is in state H and the signal S2 isin state L.

In the deactivated state, the signal S1 is in state L and the signal S2is in state L.

As it will be explained more in details thereafter, controlling theswitch SW is only performed when the SWP link LK is in its deactivatedstate

Further, when a secure element SE1 for example, has been selected, thepart of the SWP link seen by the other non selected secure element (SE2for example), is advantageously in a deactivated state.

Placing such part of the SWP link in a deactivated state is equivalentto place the C6 contact of said corresponding non selected secureelement in a low state, typically at ground.

Resistors R20 and R21 respectively connected between the second terminalT20 and a voltage reference, for example ground, and between secondterminal T21 and the voltage reference, are pull down resistors. And,the pull down resistor R20 permits to force the part LK20 of the SWPlink in a deactivated state when the secure element SE2 has beenselected while pull down resistor R21 forces the part LK21 of the SWPlink in its deactivated state when the secure element SE1 has beenselected.

Further, another pull down resistor R3 connected between the controlinput T3 and the voltage reference (ground, for example) permits toforce the control input to the logical value “0” thereby forcing theswitch in the predetermined configuration in which terminal T1 isconnected to terminal T20, in the case the switch SWP is notsufficiently or not at all powered.

The value of each pull down resistor is chosen to have for example acurrent having a very small value, for example 5 μA or 10 μA.

We refer now more particularly to FIG. 4, which illustrates a particularembodiment of a method according to the invention.

After the master element boot, the processing means PRM of the masterelement put the SWP link in its deactivated state (step 400) in order toselect (step 401) one secure element, for example secure element SE1. Inthis respect, the control signal SWCTRL has the logic value “0”.

Since the secure element SE1 has been selected, the part LK21 of the SWPlink seen by the other non selected secure element SE2 is forced to bein a deactivated state by the pull down resistor R21 (the signal S1 ispulled down to state L by the resistor R21).

Of course, as explained above, forcing the part of the SWP link seen bythe non selected secure element in its deactivated state is equivalentto force the potential of the C6 contact of said secure element to a lowstate (ground, for example).

Once the secure element SE1 has been selected, the management means(processing means and auxiliary management means) perform an initial SWPactivation (step 402) of the corresponding slave SWP interface, asdefined in ETSI TS 102 613.

Activating a slave SWP interface leads to place said slave SWP interfacein an activated state. For example, activating a slave SWP interfacecomprises performing an activation phase during which control data areexchanged between the master interface and the slave interface. At theend of the activation phase, the master and the slave have been mutually“recognized” and the slave is ready to exchange payload informationrelated to a particular contactless application with the contactlesselement. The slave interface is thus activated (or in an activatedstate).

Once initial SWP activation sequence is finished, the processing meansof the main element ME put the SWP link into its suspended state, andwait for communication from the activated slave interface of the secureelement.

If the conditions are fulfilled to deactivate the secure element, theprocessing means of the main element put the SWP link in its deactivatedstate (step 404). Such conditions are for example those detailed inpoint 8.3 of ETSI TS 102 613.

Now, the main element ME is able to switch the SWP link between thesecure element SE1 and the secure element SE2 (step 406).

In this respect, the switch control SWCTRL takes the logic value “1”

An initial SW activation (step 402) is performed for the secure elementSE2, while the part LK20 of SWP link seen by the non selected secureelement SE1 is forced in its deactivated state by the pull-down resistorR20 (step 407).

For example, an event which can lead to an initial SWP activation ofsecure element SE2, which is for example a UICC, is the reception of asignal from the main processor.

Once initial SWP activation sequence is finished for the secure elementSE2, the processing means of the main element ME put SWP link into itssuspended state to wait for SWP communication from secure element SE2.If no activity is required on this interface, the processing means ofthe main element put the SWP link in its deactivated state (step 404).

If other secure element SE is to be activated, thus a new selection isperformed followed by an initial activation of this new selected secureelement (step 402).

If no other secure element is to be activated (step 405), the SWP linkremains in its deactivated state.

At this stage, if a SWP communication with a secure element SEi isrequired (step 501) (upon, for example, reception of an external eventcoming from the application supported by this secure element), thissecure element SEi is selected (step 502).

Of course, if the switch SWP is already in the configuration forselecting this secure element, no change is performed on the switch.

Then, a subsequent activation (step 504), as defined in ETSI TS 102 613,is performed for this secure element SEi, while the part of SWP linkseen by each non selected secure element SEj (contact C6 of each nonselected secure element SEj) is in its deactivated state (step 503)

Once the selected slave interface SLINTi of the secure element SEi hasbeen activated (step 505), a SWP communication between the main elementME and this secure element SEi may be performed (step 506) until theconditions are fulfilled allowing to deactivate the SWP link as forexample described within chapter 8.3 of ETSI TS 102 613, for example,until the reception of a signal named EVT_HCI_END_OF_OPERATION in ETSITS 102 622 (step 507).

Such signal indicates the end of a communication with the secure elementSEi.

After the conditions are fulfilled, the SWP link is put again in itsdeactivated state (step 508) by the processing means PRM of the mainelement SE.

If a new SW communication is required with the previously selectedsecure element SEi, thus, the control signal SWCTRL is not modified(step 510) and a subsequent activation (step 511) is performed foractivating the slave interface SLINTi of this secure element SEi (step512) permitting thus the SWP communication with this secure element(Step 513).

If a SWP communication is required with a secure element SEj, differentfrom the previously selected secure element SEi, then, this new secureelement SEj is selected (step 514) by modifying the value of the controlsignal SWCTRL.

A subsequent activation (step 516) is performed for this new selectedsecure element SEj, while maintaining the contact C6 of each other nonselected secure element in a low state (step 515).

Once the slave interface SLINTj of this secure element SEj has beenactivated (step 517), a SWP communication between the main element MEand the secure element SEj may be performed (step 518).

An initial activation and a subsequent activation of a slave interfaceare disclosed in ETSI TS 102 613.

The man skilled in the art may refer to this standard if necessary.

Some details about these activations are now briefly described withreference to FIGS. 6-11

According to ETSI TS 102 613, particular control frames, called ACTframes, are exchanged between the NFC controller ME and a secure elementSE during an activation phase.

Such ACT frame, referenced CFR, is diagrammatically illustrated in FIG.6

More precisely, the first three bits of byte 1 of the frame CFR declarethe SWP frame as an ACT frame. The FR bit indicates an eventuallycorrupted previously received ACT frame (only used by the NCF controllerME). The INF bit indicates that the last payload byte containsACT_INFORMATION field and the ACT_CTRL bits b1 b2 b3 define the meaningof the ACT frame. After byte 1, 0-3 payload bytes follow, the contentthereof depending of the content of ACT_CTRL and FR fields.

More precisely, when the bits b 1 b2 b3 have respectively the binaryvalues 000, the corresponding frame CFR1 is a so-called ACT_READY frameindicating that the secure element has been activated and is ready forexchanging information with the contactless element (FIG. 7).

When the bits b1, b2, b3 have respectively the binary values 001, thecorresponding frame CFR2 is a so-called ACT_SYNC frame sent by a secureelement and containing the identification SYNC_ID of this secure element(FIG. 8).

When the bits b1 b2 b3 have respectively the binary values 010, thecorresponding frame CFR3 (FIG. 9) is a so-called ACT_POWER_MODE framesent by the contactless element and indicating the power mode (fullpower or low power).

FIG. 10 is more particularly directed to an initial activation of aslave interface. An initial activation is performed in particular afterthe first powering up of the device or after a new powering up followinga power interruption.

First, the SWIO signal (see FIGS. 2 and 3) which is in its low state Lis set to its high state H by the NFC controller (state 80). The SWPlink is in its suspended state.

In ETSI TS 102 613 a secure element which detects such state H on itscontact C6 has a predetermined duration (700 μs) for resuming the SWPlink.

The auxiliary management means of the slave interface of the secureelement SE, which is the selected secure element, sends, after havingresumed the SWP link, an ACT_SYNC frame CFR2 (step 83).

Then, the activation process continues depending on the power mode (step85)

More precisely, the NFC controller ME sends an ACT_POWER_MODE frame CFR3(step 86) in the case of a full power mode.

Upon receipt of this frame CFR3, the auxiliary management means of theselected secure element SE send an ACT_READY frame CFR1 (step 87).

The SWP interface of the secure element SEn is thus considered as beingactivated.

If the power mode is a low power mode, the interface of the selectedsecure element SE is considered as being activated after step 83.

FIG. 11 illustrates diagrammatically a subsequent activation of secureelement SE.

In step 91, the auxiliary management means of the secure element SE sendon the link LK the ACT_SYNC frame.

The slave SWP interface of the secure element SE is thus considered tobe subsequently activated.

FIG. 12 illustrates diagrammatically an embodiment of an analogmultiplexer/demultiplexer switch SW allowing connection with two secureelements

In this embodiment, the switch SW is a passive switch. It comprises, forexample, two NMOS transistors TRA and TRB. The input control T3 of theswitch SW is connected to the gate of transistor TRA and to the gate oftransistor TRB through an inversor INV.

The terminal T20 of the switch SW is connected to one electrode (thedrain, for example) of the transistor TRA, while the terminal T21 of theswitch SW is connected to the electrode (the drain, for example) oftransistor TRB.

The other electrode (the source, for example) of each transistor TRA andTRB are both connected to the terminal T1 of the switch SW

It is also possible to use an active multiplexer/demultiplexer switch asfor example the one available at the company STMicroelectronics underthe reference STG5123

Such an active multiplexer/demultiplexer switch which is a high-speedCMOS low voltage single analog SPDT (Single-Pole Double Throw) switch or2:1 multiplexer/demultiplexer switch, has a lower resistivity and alower input capacity.

As illustrated in FIG. 13 and in FIG. 14, the device DIS may beincorporated in a wireless apparatus WP such as a mobile phone. Moreprecisely, the mobile phone comprises here conventionally a mainprocessor (application or baseband processor) exchanging informationwith the secure element SE1, for example a UICC, of the device throughsignal CLK, RST, I/O compliant with ETSI TS 102 221 permitting thus thetelephone functionality through the antenna ANT2.

The NFC controller ME is connected to the main processor through anotherbus, for example an I²C bus.

The secure element SE2 is for example used for banking operations.

The secure element SE2 is here totally embedded in an integrated circuitcontaining the NFC controller ME and is for example packed with said NFCcontroller in a single package SPCK.

While the secure element SE2 is thus permanently fixed within theapparatus WP, the secure element SE1 (UICC) is removably lodged withinthe apparatus WP and removably connected to the NFC controller.

The NFC controller is powered by the voltage VPS main coming from apower management unit PMU connected to a battery. The NFC controller isalso directly connected to the battery.

At last, an antenna ANT1 permitting an NFC communication with acontactless device is coupled to the NFC controller.

Information related to two different applications may be thus exchangebetween the secure elements SE1 or SE2 through the NFC controller andthe antenna ANT1.

In both embodiments disclosed in FIGS. 13 and 14, the NFC controller MEmay, in a full power operation mode, either select the secure elementSE1 or the secure element SE2 through the switch SW for performing a SWPcommunication with selected secure element.

However in the embodiment disclosed in FIG. 13, in a low power mode (forexample when the battery is off), the secure element SE1 is powered bythe NFC controller ME and SWP communication is only possible with thissecure element SE1.

As a matter of fact, the secure element SE1 is connected to terminal T20of the switch SW and, in a low power mode, the switch SW is forced bythe pull down resistor R3 to be in a configuration where terminal T1 isconnected to terminal T20.

As indicated above, the power Vcc of the secure element SE1 is deliveredby the NFC controller.

In order to be compliant with ETSI TS 102 221 which requires the samepower value between the main processor and the ETSI TS 102 221 interfaceof the secure element SE1, an additional signal Vref indicating thevoltage value of the main processor is delivered to the NFC controller.

In the embodiment disclosed in FIG. 14, the secure element SE2 ispowered by the NFC controller ME in low power mode and a SWPcommunication is only possible between the NFC controller and thissecure element SE2 in low power mode.

In this respect, as in a low power mode, switch SW is forced by pulldown resistor R3 into a configuration in which terminal T1 is connectedto terminal T20, the secure element SE2 is connected to terminal 20while secure element SE1 is connected to terminal T21 of the switch SW

FIGS. 15 to 18 illustrate diagrammatically another embodiment of thepresent invention permitting for example the user of the wirelessapparatus to choose which auxiliary element will be able to cooperatewith the main element (NFC controller) in the low power mode, i.e. whenthe battery is off.

As for the embodiments illustrated in FIGS. 13 and 14, the device has afirst state in which all the auxiliary elements are able to operate in afirst operation mode, for example in a full power mode

As it will be explained now more in details the device illustrated inFIG. 15 has a second state in which at least the secure element SE2 isable to operate in a second operation mode, for example in the low powermode.

Thus the device comprises auxiliary selection means at least partlyincorporated in said secure element SE2 and configured, when said deviceis in its second state, to control said SWP link switching for selectingonly one auxiliary element operating in a second operation mode, herethe secure element SE2.

More precisely, the secure element SE2 is powered by Vcc1 provided bythe NFC controller ME.

The contact C1 of the secure element SE1 is connected to the voltage Vccprovided by the main processor in the full power mode, and to thevoltage Vcc1 through a PMOS transistor TRP. The gate of this transistorTRP is connected to Vcc1 through a pull-up resistor R4.

The gate of the transistor TRP is also connected to an input/output portI/O2 of the secure element SE2.

This port I/O2 is also connected to a first input of a EXNOR gate LGT.

The second input of the EXNOR gate LGT is connected to the NFCcontroller for receiving the control signal SWCTRL in the firstoperation mode, and to the pull down resistor R3 to be forced to thelogical value “0” in the second operation mode

The output of the EXNOR gate LGT is connected to the control input ofthe switch SW.

Both EXNOR gate LGT and switch SW are powered by Vcc1, which is stillavailable in the second operation mode.

The output terminal T20 of the switch is connected to the contact C6 ofthe secure element SE1, and the input terminal T1 of the switch isswitched to the terminal T20 when the signal present at the controlinput of the switch has the logical value “1”

The output terminal T21 of the switch is connected to the SWP interfaceof the secure element SE2, and the input terminal T1 of the switch isswitched to the terminal T21 when the signal present at the controlinput of the switch has the logical value “0”.

The secure element comprises also auxiliary processing means PRAconnected to auxiliary memory means MMA, to the port I/O2 and to anotherinput/output port I/O1. The auxiliary processing means may be realizedby logic circuit and/or by software.

The main processor is also configured to receive from an user interfacean indication designating the auxiliary element which is chosen to beable to cooperate with the main element (NFC controller) in the lowpower mode. This indication is processed by the main processor and sentto the NFC controller through the I²C bus, and then to the secureelement SE2 during a SWP transaction in the full power mode. Theauxiliary processing means PRA of the secure element are thus configuredto store in the auxiliary memory means MMA a corresponding configurationindication CFI.

The main processor comprises also detection means configured to detectthe passage from the first state of the device (full power operationmode) to the second state (low power operation mode) and to deliver acorresponding detection signal SDT to the port I/O1. For example thissignal SDT is representative of the state ON or OFF of the mainprocessor. For example, when the processor is ON, it sets the signal SDTto the logical value “1”, whereas the signal SDT is forced to thelogical value “0” by a pull-down resistor R5 when the processor is OFF

The means PRA, MMA, DTM, TRP, LGT, R4 form here said auxiliary selectionmeans.

The operation of the device in the first state (full power mode) is nowdescribed with reference to FIG. 16.

In this state, all the element are fully powered by the battery.

The auxiliary control signal CTRLA, provided at the first input of theEXNOR gate LGT, has the logical value “1” due to the pull up resistorR4.

The transistor TRP is off and the secure element SE1 is powered by theVcc voltage delivered by the main processor.

The NFC controller ME may, in this full power operation mode, eitherselect the secure element SE1 or the secure element SE2 through theswitch SW for performing a SWP communication with selected secureelement.

As a matter of fact, because the signal CTRLA has the logical value “1”the logical value of the control signal SWCTRL delivered by the NFCcontroller will be the logical value of the signal fed at the controlinput of the switch SW.

Further, as explained above, during this full power operation mode, theconfiguration indication CFI may be delivered to secure element SE2 andstored by the auxiliary processing means PRA in the auxiliary memorymeans MMA.

Reference is now made to FIG. 17, to illustrate the case where secureelement SE2 is designated by the configuration indication CFI forcooperating with the NFC controller ME through the SWP link during thelow power mode.

In the low power mode, the secure element SE2 is powered by the voltageVcc1 provided by the NFC controller. As in the embodiments illustratedin FIGS. 13 and 14, the NFC controller is itself powered by theelectromagnetic field received by the antenna

ANT1 during a NFC communication with a contactless device.

Upon receipt of the detection signal SDT having the logical value “0”,the auxiliary processing means PRA read the configuration indication CFIstored in the auxiliary memory means and deliver the control signalCTRLA having here the logical value “1”.

Further the control signal SWCTRL is forced to the logical value “0” bythe pull down resistor R3.

Consequently, the EXNOR gate LGT powered by Vcc1, delivers a logicalvalue “0” to the control input of the switch SW also powered by Vcc1,allowing the selection of the secure element SE2.

It should be noted here that, in this non limitative particularembodiment, the transistor TRP is off and thus the secure element SE1 isnot powered.

Reference is now made to FIG. 18, to illustrate the case where secureelement SE1 is designated by the configuration indication CFI forcooperating with the NFC controller ME through the SWP link during thelow operation mode.

In the low power mode, the secure element SE2 is powered by the voltageVcc1 provided by the NFC controller.

Upon receipt of the detection signal SDT having the logical value “0”,the auxiliary processing means PRA read the configuration indication CFIstored in the auxiliary memory means and deliver the control signalCTRLA having here the logical value “0”.

Consequently the transistor TRP is ON and the secure element SE1 is alsopowered by the voltage Vcc1.

Since the control signal SWCTRL is forced to the logical value “0” bythe pull down resistor R3, the EXNOR gate LGT powered by Vcc1, deliversa logical value “1” to the control input of the switch SW also poweredby Vcc1, allowing the selection of the secure element SE1.

It should be noted here that the secure element SE1 is powered beforebeing selected by the switch SW due to the delay introduced by the EXNORgate LGT.

The means PRA, MMA, TRP, R4 form also auxiliary power control meansconfigured to control the powering of secure element SE1 and SE2 fromsaid configuration indication.

Of course, as both secure elements SE1, SE2 are powered in the low poweroperation mode, the part LK21 of SWP link seen by the non selectedsecure element SE2 is forced in its deactivated state by the pull-downresistor R21.

According to an aspect of the invention, it is thus possible to exchangeinformation between a main element and two auxiliary elements through acontrollable multiplexer/demultiplexer switch without modifying theoperating system of the secure element. Further, only a smallmodification of the operating system of the NFC controller is needed forcontrolling the analogue multiplexer/demultiplexer switch SW.

Although different embodiments of the invention have been disclosed withtwo secure elements, other embodiments including more than two secureelements connected to the master SWP interface through amultiplexer/demultiplexer switch SW are also possible.

Further although the analogue switch SW has been located outside themain element and the slave elements, it would be possible to integratethe switch (and eventually the EXNOR gate) within the single packageSPCK or directly within the main element. In such a case the outputs ofthe main element would be for example the terminals T20 and T21 of theswitch, and terminal T1 of the switch would be connected to theprocessing means of the master interface within said main element.

1-36. (canceled)
 37. A method of managing information to be exchangedbetween a main element having a master switchable single wire protocol(SWP) interface and a plurality of auxiliary elements, each auxiliaryelement having a slave SWP interface, the method comprising: operatingan SWP switch to selectively define an SWP link between only one slaveSWP interface and the master SWP interface at a time, and activate onlythe one slave SWP interface; the SWP switch comprising a first terminalcoupled to the master SWP interface, and a plurality of second terminalscoupled to respective ones of the plurality of slave SWP interfaces, andthe SWP switch configured to couple the first terminal to a respectivesecond terminal of only the one SWP slave interface at a time.
 38. Themethod according to claim 37, wherein the main element comprises acontactless element configured as a near field communication (NFC)controller, and each auxiliary element is configured as a secure elementcontaining protected information.
 39. The method according to claim 37,further comprising forcing a part of the SWP link between eachnon-selected slave SWP interface and the SWP switch in a deactivatedstate.
 40. The method according to claim 39, further comprisingcontrolling switching of the SWP switch when the SWP link is in adeactivated state.
 41. The method according to claim 37, wherein each ofthe auxiliary elements operates in a first power mode, or only oneauxiliary element operates in a second power mode while each otherauxiliary element is OFF, with the second power mode having a powervalue lower than a power value of the first power mode, and when theonly one auxiliary element operates in the second power mode allowingthe SWP switch to select the only one auxiliary element.
 42. The methodaccording to claim 37, wherein each of the auxiliary elements operatesin a first power mode, or a first auxiliary element operates in a secondpower mode, with the second power mode having a power value lower than apower value of the first power mode, and when the first auxiliaryelement operates in the second power mode, the first auxiliary elementcontrols the SWP switch for selecting the first auxiliary element. 43.The method according to claim 42, further comprising storing in thefirst auxiliary element a configuration indication, with the firstauxiliary element controlling the SWP switch by using the configurationindication.
 44. The method according to claim 43, wherein theconfiguration indication is stored in the first auxiliary element wheneach of the auxiliary elements operates in the first power mode.
 45. Themethod according to claim 42, wherein when the first auxiliary elementoperates in the second power mode, the first auxiliary element controlspowering of each other auxiliary element to place each other auxiliaryelement in an OFF state, and controls the SWP switch for selecting thefirst auxiliary element when operating in the second power mode.
 46. Themethod according to claim 42, wherein when the first auxiliary elementoperates in the second power mode, the first auxiliary element controlspowering of a second auxiliary element configured to permit the secondauxiliary element to operate in the second power mode, and the firstauxiliary element controls the SWP switch for selecting the secondauxiliary element operating in the second power mode.
 47. The methodaccording to claim 46, further comprising storing in the first auxiliaryelement a configuration indication, with the first auxiliary elementcontrolling the SWP switch by using the configuration indication, andwherein the first auxiliary element controls the powering of the secondauxiliary element based on the configuration indication.
 48. A devicecomprising: a main element comprising a master single wire protocol(SWP) interface; a plurality of auxiliary elements, each comprising arespective slave SWP interface; an SWP switch comprising a firstterminal coupled to the master SWP interface, and a plurality of secondterminals coupled to respective ones of the plurality of slave SWPinterfaces, the SWP switch configured to couple the first terminal to arespective second terminal of only one SWP slave interface at a time;and management circuitry configured to operate the SWP switch toselectively define an SWP link between the only one slave SWP interfaceand the master SWP interface at a time, and activate the only one slaveSWP interface.
 49. The device according to claim 48, wherein saidmanagement circuitry comprises a controller configured to control theSWP switch.
 50. The device according to claim 49, wherein the controlleris co-located with the main element.
 51. The device according to claim48, further comprising first forcing circuitry configured to force apart of the SWP link coupled between each non-selected slave SWPinterface and said SWP switch in a deactivated state.
 52. The deviceaccording to claim 51, wherein said first forcing circuitry comprises aplurality of pull-down resistors respectively coupled between saidplurality of parts of said SWP link and a reference voltage.
 53. Thedevice according to claim 49, wherein said management circuitrycomprises a processor configured to place said SWP link in a deactivatedstate; and wherein said controller controls said SWP switch after saidprocessor places said SWP link in a deactivated state.
 54. The deviceaccording to claim 51, wherein each of said plurality of auxiliaryelements operates in a first power mode, or only one auxiliary elementoperates in a second power mode while each other auxiliary element isOFF, with the second power mode having a power value lower than a powervalue of the first power mode; and further comprising second forcingcircuitry configured to force said SWP link into a configurationallowing selection of the only one auxiliary element when in the secondpower mode.
 55. The device according to claim 54, wherein said secondforcing circuitry comprises a pull-down resistor coupled between acontrol input of said SWP switch and a voltage reference.
 56. The deviceaccording to claim 48, wherein each of said plurality of auxiliaryelements operates in a first power mode, or a first auxiliary elementoperates in a second power mode, with the second power mode having apower value lower than a power value of the first power mode; andfurther comprising an auxiliary selector configured to control switchingof said SWP switch for selecting said first auxiliary element whenoperating in the second power mode.
 57. The device according to claim56, wherein said auxiliary selector comprises: an auxiliary memory forstoring a configuration indication; and an auxiliary controllerconfigured to control switching of said SWP switch based on theconfiguration indication.
 58. The device according to claim 57, whereinsaid auxiliary selector further comprises an auxiliary input forproviding the configuration indication to said auxiliary memory whensaid plurality of auxiliary elements are in the first power mode. 59.The device according to claim 56, wherein said auxiliary selectorcontrols powering OFF of each other auxiliary element when the firstauxiliary element is operating in the second power mode, and selectionof said first auxiliary element when operating in the second power mode.60. The device according to claim 56, wherein said auxiliary selectorcontrols powering of a second auxiliary element configured to permitsaid second auxiliary element to operate in the second power mode, andto select said second element when operating in the second power mode.61. The device according to claim 60, wherein said auxiliary selectorcomprises an auxiliary power controller configured to control poweringof said second auxiliary element based on the configuration indication.62. The device according to claim 48, wherein at least one auxiliaryelement is co-located with said main element.
 63. The device accordingto claim 48, wherein at least one auxiliary element is removably coupledto said main element.
 64. The device according to claim 48, wherein saidmain element comprises a contactless element configured as a near fieldcommunication (NFC) controller, and each auxiliary element is configuredas a secure element containing protected information.
 65. An apparatuscomprising: an antenna; and a device coupled to said antenna comprisinga main element comprising a master single wire protocol (SWP) interface,a plurality of auxiliary elements, each comprising a respective slaveSWP interface, an SWP switch comprising a first terminal coupled to themaster SWP interface, and a plurality of second terminals coupled torespective ones of the plurality of slave SWP interfaces, the SWP switchconfigured to couple the first terminal to a respective second terminalof only one SWP slave interface at a time, and management circuitryconfigured to operate the SWP switch to selectively define an SWP linkbetween the only one slave SWP interface and the master SWP interface ata time, and activate the only one slave SWP interface.
 66. The apparatusaccording to claim 65, wherein said management circuitry comprises acontroller configured to control said SWP switch.
 67. The apparatusaccording to claim 66, wherein the controller is co-located with themain element.
 68. The apparatus according to claim 65, furthercomprising first forcing circuitry configured to force a part of the SWPlink coupled between each non-selected slave SWP interface and said SWPswitch in a deactivated state.
 69. The apparatus according to claim 65,wherein at least one auxiliary element is removably coupled to said mainelement.
 70. The apparatus according to claim 65, wherein said mainelement comprises a contactless element configured as a near fieldcommunication (NFC) controller, and each auxiliary element is configuredas a secure element containing protected information.
 71. The apparatusaccording to claim 65, wherein said antenna and said device areconfigured to operate as a wireless communications device.